package com.ruicar.afs.cloud.channel.affiliation.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruicar.afs.cloud.channel.affiliation.entity.ChannelAffiliatedUnitsRelTemp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author panhj
 */
public interface ChannelAffiliatedUnitsRelTempMapper extends BaseMapper<ChannelAffiliatedUnitsRelTemp> {
    /**
     * 根据挂靠id查询是否是同一SP
     *
     * @param id
     * @return ChannelAffiliatedUnitsRelTemp
     */
    List<ChannelAffiliatedUnitsRelTemp> getChannelIdById(@Param("id") Long id);
}